e3444edbf41de86d43effe36179f9929d6ff5337,bundles/extensions/i18n/src/main/java/org/apache/sling/i18n/impl/JcrResourceBundleProvider.java,JcrResourceBundleProvider,registerResourceBundle,#Key#JcrResourceBundle#,438

Before Change



        // register language root paths
        final Set<String> languageRoots = resourceBundle.getLanguageRootPaths();
        for(final String path : languageRoots) {
            boolean found = this.languageRootPaths.contains(path);
            if ( !found ) {
                final Dictionary<String, Object> properties = new Hashtable<>();
                properties.put(ResourceChangeListener.PATHS, path);

After Change



        // register language root paths
        final Set<String> languageRoots = resourceBundle.getLanguageRootPaths();
        this.languageRootPaths.addAll(languageRoots);

        log.debug("registerResourceBundle({}, ...): added service registration and language roots {}", key, languageRoots);
        log.info("Currently loaded dictionaries across all locales: {}", languageRootPaths);